package game.adm.dao.dto;

import game.web.base.Constants;

public final class WithdrawDTO extends BaseDTO{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1386025935593228329L;
	private String id = "";
	private String userid = "";
	private int orderstatus = 0;
	private String bankinfo = "";
	private double money = 0.00;
	private String content = "";
	private String orderstatusstr = "";
	private String createtime ="";
	private String updatetime ="";
	private String createip = "";
	private String updateip = "";
	private String username = "";

	public String getOrderstatusstr() {
		return orderstatusstr;
	}

	public void setOrderstatusstr(String orderstatusstr) {
		this.orderstatusstr = orderstatusstr;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public double getMoney() {
		return money;
	}

	public void setMoney(double money) {
		this.money = money;
	}

	public String getBankinfo() {
		return bankinfo;
	}

	public void setBankinfo(String bankinfo) {
		this.bankinfo = bankinfo;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public int getOrderstatus() {
		return orderstatus;
	}

	public void setOrderstatus(int orderstatus) {
		//1=成功，2=失败，3=处理中，4取消
		if(orderstatus==1)
			this.setOrderstatusstr(Constants.SUCCESS_NAME);
		else if(orderstatus==2)
			this.setOrderstatusstr(Constants.FAILURE_NAME);
		else if(orderstatus==3)
			this.setOrderstatusstr(Constants.PROCESS_NAME);
		else if(orderstatus==4)
			this.setOrderstatusstr(Constants.CANCEL_NAME);
		else
			this.setOrderstatusstr(Constants.UNKNOW_NAME);
		
		this.orderstatus = orderstatus;
	}

	public String getCreatetime() {
		return createtime;
	}

	public void setCreatetime(String createtime) {
		this.createtime = createtime;
	}

	public String getUpdatetime() {
		return updatetime;
	}

	public void setUpdatetime(String updatetime) {
		this.updatetime = updatetime;
	}

	public String getCreateip() {
		return createip;
	}

	public void setCreateip(String createip) {
		this.createip = createip;
	}

	public String getUpdateip() {
		return updateip;
	}

	public void setUpdateip(String updateip) {
		this.updateip = updateip;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	
}
